home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-07-28 | 588 b | 27 lines | [TEXT/MPS ] |
-
- {%%DOC: MakeMenu.p.Trivial -- begin}
-
- PROCEDURE DoMakeMenus;
- var
- menuBar: Handle;
-
- BEGIN
- menuBar:=GetNewMBar(MBARID); {read menus and menu bar}
-
- IF menuBar<>NIL
- THEN
- BEGIN
- SetMenuBar(menuBar); {insert menus into the current menu list}
- DisposHandle(menuBar);
- AddResMenu(GetMHandle(AppleID),'DRVR'); {add desktop items in Apple Menu
- Items folder to Apple menu}
-
- {%% >> adjust items and enabled state of menus <<}
-
- DrawMenuBar; {draw the menu bar}
-
- END;
- END; {DoMakeMenus}
-
- {%%DOC: MakeMenu.p.Trivial -- eof}
-